package com.easywan.dao;

import java.util.List;

public interface BaseMapper {
	 int deleteByPrimaryKey(Integer id);

	 <T> int insert(T record);

	 <T> int insertSelective(T record);

	 <T> T selectByPrimaryKey(Integer id);

	 <T> int updateByPrimaryKeySelective(T record);

	 <T> int updateByPrimaryKey(T record);
	 <T> List<T> selectBy(T record);
}
